/**
 * author      : dormi330
 * date        : 2018/6/26
 * project     : mybatis
 * description : 订单支付信息, 与订单TradeOrder 1-1关系, 不包含退款信息
 * 目前完全冗余
 */

package com.deep.trade.domain.order;

import com.deep.trade.common.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

public class OrderPayment extends BaseEntity {
    private String tradeOrderId;    // 交易订单号
    private String payType;         // 支付类型 对公/对私
    private String payChannel;      // 支付渠道 线下/支付宝/...
    private String payOrderNo;      // 支付订单号
    private String payStatus;       // 支付状态
    private Date paidAt;            // 支付日期
    private BigDecimal payMoney;    // 支付金额

    // === setter / getter ===

    public String getTradeOrderId() {
        return tradeOrderId;
    }

    public void setTradeOrderId(String tradeOrderId) {
        this.tradeOrderId = tradeOrderId;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getPayOrderNo() {
        return payOrderNo;
    }

    public void setPayOrderNo(String payOrderNo) {
        this.payOrderNo = payOrderNo;
    }

    public String getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(String payStatus) {
        this.payStatus = payStatus;
    }

    public Date getPaidAt() {
        return paidAt;
    }

    public void setPaidAt(Date paidAt) {
        this.paidAt = paidAt;
    }

    public BigDecimal getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(BigDecimal payMoney) {
        this.payMoney = payMoney;
    }

    public String getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(String payChannel) {
        this.payChannel = payChannel;
    }
}
